﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Core
{
    /// <summary>
    /// 扭力枪参数
    /// </summary>
    public class TorqueParmas:NotifyPropertyChanged
    {
        private string _CellID;

        public string CellID
        {
            get { return _CellID; }
            set
            {
                if (value != _CellID)
                {
                    _CellID = value;
                    OnPropertyChanged(nameof(CellID));
                }
            }
        }

        private string _Torque;

        public string Torque
        {
            get { return _Torque; }
            set
            {
                if (value != _Torque)
                {
                    _Torque = value;
                    OnPropertyChanged(nameof(Torque));
                }
            }
        }

        private string _VINNumber;

        public string VINNumber
        {
            get { return _VINNumber; }
            set
            {
                if (value != _VINNumber)
                {
                    _VINNumber = value;
                    OnPropertyChanged(nameof(VINNumber));
                }
            }
        }

        private string _PSNumber;

        public string PSNumber
        {
            get { return _PSNumber; }
            set
            {
                if (value != _PSNumber)
                {
                    _PSNumber = value;
                    OnPropertyChanged(nameof(PSNumber));
                }
            }
        }

        private string _BatchCounter;

        public string BatchCounter
        {
            get { return _BatchCounter; }
            set
            {
                if (value != _BatchCounter)
                {
                    _BatchCounter = value;
                    OnPropertyChanged(nameof(BatchCounter));
                }
            }
        }

        private string _TighteningStatus;

        public string TighteningStatus
        {
            get { return _TighteningStatus; }
            set
            {
                if (value != _TighteningStatus)
                {
                    _TighteningStatus = value;
                    OnPropertyChanged(nameof(TighteningStatus));
                }
            }
        }

        private string _TorqueStatus;

        public string TorqueStatus
        {
            get { return _TorqueStatus; }
            set
            {
                if (value != _TorqueStatus)
                {
                    _TorqueStatus = value;
                    OnPropertyChanged(nameof(TorqueStatus));
                }
            }
        }

        private string _AngleStatus;

        public string AngleStatus
        {
            get { return _AngleStatus; }
            set
            {
                if (value != _AngleStatus)
                {
                    _AngleStatus = value;
                    OnPropertyChanged(nameof(AngleStatus));
                }
            }
        }

        private string _TorequeFinalTarget;

        public string TorqueFinalTarget
        {
            get { return _TorequeFinalTarget; }
            set
            {
                if (value != _TorequeFinalTarget)
                {
                    _TorequeFinalTarget = value;
                    OnPropertyChanged(nameof(TorqueFinalTarget));
                }
            }
        }

        private string _FinalAngleTarget;

        public string FinalAngleTarget
        {
            get { return _FinalAngleTarget; }
            set
            {
                if (value != _FinalAngleTarget)
                {
                    _FinalAngleTarget = value;
                    OnPropertyChanged(nameof(FinalAngleTarget));
                }
            }
        }

        private string _TighteningID;

        public string TighteningID
        {
            get { return _TighteningID; }
            set
            {
                if (value != _TighteningID)
                {
                    _TighteningID = value;
                    OnPropertyChanged(nameof(TighteningID));
                }
            }
        }

        private string _BatchStatus;

        public string BatchStatus
        {
            get { return _BatchStatus; }
            set
            {
                if (value != _BatchStatus)
                {
                    _BatchStatus = value;
                    OnPropertyChanged(nameof(BatchStatus));
                }
            }
        }

        private string _BatchSize;

        public string BathSize
        {
            get { return _BatchSize; }
            set
            {
                if (value != _BatchSize)
                {
                    _BatchSize = value;
                    OnPropertyChanged(nameof(BathSize));
                }
            }
        }

        private string _TimeStamp;

        public string TimeStamp
        {
            get { return _TimeStamp; }
            set
            {
                if (value != _TimeStamp)
                {
                    _TimeStamp = value;
                    OnPropertyChanged(nameof(TimeStamp));
                }
            }
        }

        private string _TorqueColllerName;

        public string TorqueControllerName  
        {
            get { return _TorqueColllerName; }
            set
            {
                if (value != _TorqueColllerName)
                {
                    _TorqueColllerName = value;
                    OnPropertyChanged(nameof(TorqueControllerName));
                }
            }
        }

        private string _JobID;

        public string JobID
        {
            get { return _JobID; }
            set
            {
                if (value != _JobID)
                {
                    _JobID = value;
                    OnPropertyChanged(nameof(JobID));
                }
            }
        }


        private string _equipmentcode;

        public string equipmentcode
        {
            get { return _equipmentcode; }
            set
            {
                if (value != _equipmentcode)
                {
                    _equipmentcode = value;
                    OnPropertyChanged(nameof(equipmentcode));
                }
            }
        }

        /// <summary>
        /// KJF 20210409 新增
        /// 条码
        /// </summary>
        private string _barcode;

        public string barcode
        {
            get { return _barcode; }
            set
            {
                if (value != _barcode)
                {
                    _barcode = value;
                    OnPropertyChanged(nameof(barcode));
                }
            }
        }

        /// <summary>
        /// KJF 20210409 新增
        /// 序列号
        /// </summary>
        private string _sn;

        public string sn
        {
            get { return _sn; }
            set
            {
                if (value != _sn)
                {
                    _sn = value;
                    OnPropertyChanged(nameof(sn));
                }
            }
        }

        /// <summary>
        /// KJF 20210409 新增
        /// 物料号
        /// </summary>
        private string _matid;
        public string matid
        {
            get { return _matid; }
            set
            {
                if (value != _matid)
                {
                    _matid = value;
                    OnPropertyChanged(nameof(matid));
                }
            }
        }

        /// <summary>
        /// KJF 20210409 新增
        /// 工单号
        /// </summary>
        private string _woid;
        public string woid
        {
            get { return _woid; }
            set
            {
                if (value != _woid)
                {
                    _woid = value;
                    OnPropertyChanged(nameof(woid));
                }
            }
        }

        /// <summary>
        /// KJF 20210429 新增
        /// </summary>
        private string _Angle;

        public string Angle
        {
            get { return _Angle; }
            set
            {
                if (value != _Angle)
                {
                    _Angle = value;
                    OnPropertyChanged(nameof(Angle));
                }
            }
        }

        /// <summary>
        /// KJF 20210429 新增
        /// </summary>
        private string _Tools;

        public string Tools
        {
            get { return _Tools; }
            set
            {
                if (value != _Tools)
                {
                    _Tools = value;
                    OnPropertyChanged(nameof(Tools));
                }
            }
        }


    }
}
